:- module(balboa, [print_dict/0], []).

:- use_module(search(balboa_dict)).
:- use_module(search(utils)).

%% All public procedures are reexported

%% This gives access to the package names, the capabilities it needs,
%% and the capabilities it offers.  Needed for matching.
:- reexport(search(balboa_pkg_deps), [':=' / 2]).

%% This gives a dictionary: a set of terms with:
%%  * The full name, for internal use
%%  * The short name 
%% A description of what the term means is lacking, however!  We can
%% use its short name instead, from the time being.
:- reexport(search(balboa_dict), [dictionary/1]).

%% This describes what each package does; it is taken verbatim from
%% the rpm output.
:- reexport(search(balboa_pkg_desc), [pkg_desc/2]).

print_dict:-
        dictionary(D),
        show_list('', D).

